package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangge
 * @since 2020-09-04
 */
@TableName("bty_shop")
public class BtyShop implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 店铺id
     */
    @TableId(value = "shop_id", type = IdType.ID_WORKER)
    private String shopId;

    /**
     * 门店编码
     */
    @TableField("shop_code")
    private String shopCode;

    /**
     * 门店名称
     */
    @TableField("shop_name")
    private String shopName;

    /**
     * 联系方式
     */
    @TableField("phone")
    private String phone;

    /**
     * 门店类型
     */
    @TableField("join_flag")
    private Integer joinFlag;

    /**
     * 是否营业
     */
    @TableField("enable_flag")
    private Integer enableFlag;

    /**
     * 上级机构
     */
    @TableField("parent_id")
    private String parentId;

    /**
     * 联系地址
     */
    @TableField("addr")
    private String addr;

    /**
     * 修改时间
     */
    @TableField("modify_date")
    private Date modifyDate;


    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopCode() {
        return shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getJoinFlag() {
        return joinFlag;
    }

    public void setJoinFlag(Integer joinFlag) {
        this.joinFlag = joinFlag;
    }

    public Integer getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Integer enableFlag) {
        this.enableFlag = enableFlag;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    @Override
    public String toString() {
        return "BtyShop{" +
        "shopId=" + shopId +
        ", shopCode=" + shopCode +
        ", shopName=" + shopName +
        ", phone=" + phone +
        ", joinFlag=" + joinFlag +
        ", enableFlag=" + enableFlag +
        ", parentId=" + parentId +
        ", addr=" + addr +
        ", modifyDate=" + modifyDate +
        "}";
    }
}
